#include "pm_repository_impl.hpp"

/*---------------------------------------------------------------------------*/

namespace ProjectManager {

/*---------------------------------------------------------------------------*/


RepositoryImpl::RepositoryImpl()
{
}


/*---------------------------------------------------------------------------*/


RepositoryImpl::RepositoryImpl(
		const std::string& _name
	,	const std::string& _url
	,	const std::string& _username
	,	const std::string& _password
)
	:	m_name( _name )
	,	m_url( _url )
	,	m_username( _username )
	,	m_password( _password )
{
}


/*---------------------------------------------------------------------------*/


RepositoryImpl::~RepositoryImpl()
{
}


/*---------------------------------------------------------------------------*/


const std::string&
RepositoryImpl::getName() const
{
	return m_name;
}


/*---------------------------------------------------------------------------*/


void
RepositoryImpl::setName( const std::string& _name )
{
	m_name = _name;
}


/*---------------------------------------------------------------------------*/


const std::string&
RepositoryImpl::getUsername() const
{
	return m_username;
}


/*---------------------------------------------------------------------------*/


void
RepositoryImpl::setUserame( const std::string& _username )
{
	m_username = _username;
}


/*---------------------------------------------------------------------------*/


const std::string&
RepositoryImpl::getPassword() const
{
	return m_password;
}


/*---------------------------------------------------------------------------*/


void
RepositoryImpl::setPassword( const std::string& _password )
{
	m_password = _password;
}


/*---------------------------------------------------------------------------*/


const std::string&
RepositoryImpl::getURL() const
{
	return m_url;
}


/*---------------------------------------------------------------------------*/


void
RepositoryImpl::setURL( const std::string& _url )
{
	m_url = _url;
}


/*---------------------------------------------------------------------------*/

} // namespace ProjectManager
